package com.wk.code.wkserver.response.admin;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author wq
 * @date 2021-04-29
 */
@Data
@ApiModel(value = "菜单传输对象")
public class MenuResponse {

    @ApiModelProperty(value = "菜单ID")
    private Integer id;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "路径")
    private String path;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "子菜单")
    private List<MenuResponse> children;
}
